home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / misc / volume27 / psf3 / part04 < prev    next >
Encoding:
Text File  |  1992-01-20  |  54.6 KB  |  2,204 lines

  1. Newsgroups: comp.sources.misc
  2. From: tony@ajfcal.cuc.ab.ca (Tony Field)
  3. Subject:  v27i095:  psf3 - Postscript print filter system, v3, Part04/09
  4. Message-ID: <1992Jan21.013120.11267@sparky.imd.sterling.com>
  5. X-Md4-Signature: 1166bdd4dfd351a50103317aea6fb7ae
  6. Date: Tue, 21 Jan 1992 01:31:20 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: tony@ajfcal.cuc.ab.ca (Tony Field)
  10. Posting-number: Volume 27, Issue 95
  11. Archive-name: psf3/part04
  12. Environment: ISC, SUNOS, SYSVR3, DOS
  13. Supersedes: psf2: Volume 12, Issue 4-9
  14.  
  15. #! /bin/sh
  16. # This is a shell archive.  Remove anything before this line, then unpack
  17. # it by saving it into a file and typing "sh file".  To overwrite existing
  18. # files, type "sh file -c".  You can also feed this as standard input via
  19. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  20. # will see the following message at the end:
  21. #        "End of archive 4 (of 9)."
  22. # Contents:  Changes Makefile.dos defs/cn_500j1.def defs/dp_us470.def
  23. #   defs/epl3kf21.def defs/ibm20470.def defs/ibm39521.def
  24. #   defs/ibm39523.def defs/ok801+f1.def defs/scg20522.def
  25. #   defs/tkphzr31.def defs/uni39521.def getopt.c man/psfbanner.1
  26. #   man/psfbanner.doc man/psfmail.1 man/psfmail.doc psf.h psfman.SH
  27. #   psfproto.h psfunix.LP psfxenix.LP
  28. # Wrapped by ajf@trifid on Sat Jan 18 22:55:49 1992
  29. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  30. if test -f 'Changes' -a "${1}" != "-c" ; then 
  31.   echo shar: Will not clobber existing file \"'Changes'\"
  32. else
  33. echo shar: Extracting \"'Changes'\" \(1545 characters\)
  34. sed "s/^X//" >'Changes' <<'END_OF_FILE'
  35. X        Psf changes between version 2 and 3
  36. X
  37. X     1.    Page rotation and scaling has been corrected. In particular,
  38. X    problems with landscape printing have been fixed.
  39. X
  40. X     2.    Changes have been made to allow psf to work with the lpr/lpd
  41. X    spooling system. Read "Install.lpd" for details.
  42. X
  43. X     3. Reverse order printing is added.
  44. X
  45. X     4.    The original Install.unix and Install.xenix installation scripts
  46. X    are no longer used. All installation is done with make. Read
  47. X    "Readme.unix" for details
  48. X
  49. X     5.    A postscript programme "getsizes.ps" has been added so that
  50. X    the imageable area of almost any page size on almost any
  51. X    printer can be determined.  Documentation for manual
  52. X    preparation of a .def file has been clarified.
  53. X
  54. X     6.    Xenix is no longer supported - however a xenix installation
  55. X    with
  56. X            make installxenix
  57. X    
  58. X    should work.  It has not been tested.
  59. X
  60. X     7. Documentation has been upgraded a bit.
  61. X
  62. X     8. Line clipping on 2 and 4 up printing has been implemented.
  63. X
  64. X     9. Added -s option to display print line and column counts for
  65. X        different point and page sizes.
  66. X
  67. X    10. Language support for European languages.
  68. X
  69. X    11. Name conflicts with OpenWindows "forced" changes in names
  70. X        of programmes:
  71. X
  72. X            old name     new name
  73. X            ------------ -----------
  74. X            psman         psfman
  75. X            pnf         psfbs
  76. X            pmf         psfmail
  77. X            psnroff         psfnroff
  78. X            psd         psfdoub
  79. X            psdouble     psfdouble
  80. X            psmbox       psfmbox
  81. X        
  82. X    -------------------
  83. X    Tony Field
  84. X        (tony@ajfcal.cuc.ab.ca)
  85. END_OF_FILE
  86. if test 1545 -ne `wc -c <'Changes'`; then
  87.     echo shar: \"'Changes'\" unpacked with wrong size!
  88. fi
  89. # end of 'Changes'
  90. fi
  91. if test -f 'Makefile.dos' -a "${1}" != "-c" ; then 
  92.   echo shar: Will not clobber existing file \"'Makefile.dos'\"
  93. else
  94. echo shar: Extracting \"'Makefile.dos'\" \(2313 characters\)
  95. sed "s/^X//" >'Makefile.dos' <<'END_OF_FILE'
  96. X#        Make psf    (Microsoft C 5.1)
  97. X#        ========
  98. X#
  99. X# usage:    make all               compile psf binaries
  100. X#        make printer        select your printer
  101. X#        make installdos        install to destination directories
  102. X#        make doc        create doc files (with cawf)
  103. X#        make clean        remove binaries and doc file
  104. X
  105. X# (NOTE: This makefile will not run with "make" that comes with
  106. X#     Microsoft C 5.1.  You must use a "reasonable" make!
  107. X
  108. XNROFF = cawf
  109. X
  110. X
  111. X# Location of binaries and scripts
  112. X# ^^^^^^^^^^^^^^^^^^^^
  113. XBINDIR=c:/bin
  114. X
  115. X# Loation of psfprint.def:
  116. X# ^^^^^^^^^^^^^^^^^^^^^^^
  117. XDEFFILE=c:/lib/psfprint.def
  118. X
  119. X
  120. XCFLAGS =-DBINDIR=\"$(BINDIR)\" -DPDEF=\"$(DEFFILE)\"
  121. X
  122. Xall:    psf.exe psfdoub.exe selectde.exe psfbs.exe
  123. X
  124. Xpsf.obj:    psf.h psf.c ctp.h
  125. Xpsf.exe:    psf.obj getopt.obj
  126. X    link /NOE /STACK:20000 psf.obj getopt.obj c:\mc\lib\setargv,,,;
  127. X
  128. Xpsfbs.obj:    psf.h psfbs.c ctp.h
  129. Xpsfbs.exe:    psfbs.obj getopt.obj
  130. X    link /NOE /STACK:20000 psfbs.obj getopt.obj c:\mc\lib\setargv,,,;
  131. X
  132. Xpsfdoub.obj:    psf.h psfdoub.c ctp.h
  133. Xpsfdoub.exe:    psfdoub.obj getopt.obj
  134. X    link /NOE /STACK:20000 psfdoub.obj getopt.obj c:\mc\lib\setargv,,,;
  135. X
  136. Xselectde.obj:    psf.h selectde.c ctp.h
  137. Xselectde.exe:    selectde.obj getopt.obj
  138. X    link /NOE /STACK:20000 selectde.obj getopt.obj c:\mc\lib\setargv,,,;
  139. X
  140. Xgetopt.obj:    getopt.c
  141. X
  142. X
  143. Xprinter:
  144. X    selectde ./defs/*.def
  145. X
  146. X# install system
  147. X# ^^^^^^^^^^^^^^
  148. Xinstall:
  149. X    @echo -
  150. X    @echo      First: 'make printer'
  151. X    @echo          'make pack    (exepack)'
  152. X    @echo      Then:  'make installdos'
  153. X
  154. Xinstalldos:
  155. X    xcopy psf.exe $(BINDIR)
  156. X    xcopy psfdoub.exe $(BINDIR)
  157. X    xcopy psfprint.def $(DEFFILE)
  158. X    xcopy psfbs.exe $(BINDIR)
  159. X    xcopy psfnroff.bat $(BINDIR)
  160. X
  161. Xpack:
  162. X    exepack psf.exe  z9901
  163. X    xcopy z9901 psf.exe
  164. X    exepack psfdoub.exe  z9901
  165. X    xcopy  z9901 psfdoub.exe
  166. X    exepack psfbs.exe  z9901
  167. X    xcopy z9901 psfbs.exe
  168. X    exepack selectde.exe  z9901
  169. X    xcopy z9901 selectde.exe
  170. X    rm z9901
  171. X
  172. X
  173. X# Generate formatted document files.
  174. X# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  175. Xdoc:
  176. X    $(NROFF) -man man/psf.1 | bsfilt - > man/psf.doc
  177. X    $(NROFF) -man man/psfbs.1 | bsfilt - > man/psfbs.doc
  178. X    $(NROFF) -man man/psfdoub.1 | bsfilt - > man/psfdoub.doc
  179. X    $(NROFF) -man man/psfnroff.1 | bsfilt - > man/psfnroff.doc
  180. X
  181. X# zoo a binary distribution
  182. X# ^^^^^^^^^^^^^^^^^^^^^^^^^
  183. Xzoo:
  184. X    zoo a psf.zoo man/*.* defs/*.* *.exe *.bat Readme.dos Install.dos Install.def NOTICE testfile getsizes.ps selectde.exe
  185. X
  186. Xclean:
  187. X    rm *.obj *.map *.exe *.bak
  188. END_OF_FILE
  189. if test 2313 -ne `wc -c <'Makefile.dos'`; then
  190.     echo shar: \"'Makefile.dos'\" unpacked with wrong size!
  191. fi
  192. # end of 'Makefile.dos'
  193. fi
  194. if test -f 'defs/cn_500j1.def' -a "${1}" != "-c" ; then 
  195.   echo shar: Will not clobber existing file \"'defs/cn_500j1.def'\"
  196. else
  197. echo shar: Extracting \"'defs/cn_500j1.def'\" \(2277 characters\)
  198. sed "s/^X//" >'defs/cn_500j1.def' <<'END_OF_FILE'
  199. X*printer
  200. XCanon PS-IPU Kanji Color Laser Copier v52.3
  201. X*paper 7
  202. XLetter
  203. Xstatusdict begin lettertray end
  204. X  612   792    12    15   588   780
  205. XLegal
  206. Xstatusdict begin legaltray end
  207. X  612  1008    12    12   598   984
  208. XTabloid
  209. Xstatusdict begin 11x17tray end
  210. X  792  1224    12    12   777  1200
  211. XA3
  212. Xstatusdict begin a3tray end
  213. X  842  1190    12    12   829  1166
  214. XA4
  215. Xstatusdict begin a4tray end
  216. X  595   842    12    12   571   829
  217. XB4
  218. Xstatusdict begin b4tray end
  219. X  729  1032    12    12   714  1006
  220. XB5
  221. Xstatusdict begin b5tray end
  222. X  516   729    12    12   500   704
  223. X*order 1
  224. XNormal
  225. X*fonts 78
  226. XAvantGarde-Book
  227. XAvantGarde-Demi
  228. XBookman-Demi
  229. XBookman-Light
  230. XCourier
  231. XHelvetica
  232. XHelvetica-Condensed
  233. XHelvetica-Narrow
  234. XNewCenturySchlbk-Roman
  235. XPalatino-Roman
  236. XSymbol
  237. XTimes-Roman
  238. XZapfChancery-MediumItalic
  239. XZapfDingbats
  240. XGothicBBB-Medium-83pv-RKSJ-H
  241. XGothicBBB-Medium-Add-H-
  242. XGothicBBB-Medium-Add-RKSJ-H
  243. XGothicBBB-Medium-Add-RKSJ-V
  244. XGothicBBB-Medium-H-
  245. XGothicBBB-Medium-Add-V
  246. XGothicBBB-Medium-EUC-H
  247. XGothicBBB-Medium-EUC-V
  248. XGothicBBB-Medium-Ext-H-
  249. XGothicBBB-Medium-Ext-RKSJ-H-
  250. XGothicBBB-Medium-Ext-RKSJ-V
  251. XGothicBBB-Medium-Ext-V
  252. XGothicBBB-Medium-NWP-H-
  253. XGothicBBB-Medium-NWP-V
  254. XGothicBBB-Medium-RKSJ-H
  255. XGothicBBB-Medium-RKSJ-UserGaiji
  256. XGothicBBB-Medium-RKSJ-V
  257. XGothicBBB-Medium-V-
  258. XGothicBBB-Medium.Oubun
  259. XGothicBBB-Medium.Roman
  260. XGothicBBB-Medium.WP-Symbol
  261. XJun101-Light-83pv-RKSJ-H
  262. XJun101-Light-Add-H-
  263. XJun101-Light-Add-RKSJ-H
  264. XJun101-Light-Add-RKSJ-V
  265. XJun101-Light-Add-V
  266. XJun101-Light-EUC-H
  267. XJun101-Light-EUC-V
  268. XJun101-Light-Ext-H
  269. XJun101-Light-Ext-RKSJ-H
  270. XJun101-Light-Ext-RKSJ-V
  271. XJun101-Light-Ext-V
  272. XJun101-Light-H
  273. XJun101-Light-NWP-H
  274. XJun101-Light-NWP-V
  275. XJun101-Light-RKSJ-H
  276. XJun101-Light-RKSJ-UserGaiji
  277. XJun101-Light-RKSJ-V
  278. XJun101-Light-V
  279. XJun101-Light.Oubun
  280. XPCJun101-Light
  281. XJun101-Light.Roman
  282. XJun101-Light.WP-Symbol
  283. XRyumin-Light-83pv-RKSJ-H
  284. XRyumin-Light-Add-H
  285. XRyumin-Light-Add-RKSJ-H
  286. XRyumin-Light-Add-RKSJ-V
  287. XRyumin-Light-Add-V
  288. XRyumin-Light-EUC-H
  289. XRyumin-Light-EUC-V
  290. XRyumin-Light-Ext-H
  291. XRyumin-Light-Ext-RKSJ-H
  292. XRyumin-Light-Ext-RKSJ-V
  293. XRyumin-Light-Ext-V
  294. XRyumin-Light-H
  295. XRyumin-Light-NWP-H
  296. XRyumin-Light-NWP-V
  297. XRyumin-Light-RKSJ-H
  298. XRyumin-Light-RKSJ-UserGaiji
  299. XRyumin-Light-RKSJ-V
  300. XRyumin-Light-V
  301. XRyumin-Light.Oubun
  302. XRyumin-Light.Roman
  303. XRyumin-Light.WP-Symbol
  304. X*slots 2
  305. Xstatusdict begin 1 setpapertray end
  306. Xstatusdict begin 2 setpapertray end
  307. X*eof
  308. END_OF_FILE
  309. if test 2277 -ne `wc -c <'defs/cn_500j1.def'`; then
  310.     echo shar: \"'defs/cn_500j1.def'\" unpacked with wrong size!
  311. fi
  312. # end of 'defs/cn_500j1.def'
  313. fi
  314. if test -f 'defs/dp_us470.def' -a "${1}" != "-c" ; then 
  315.   echo shar: Will not clobber existing file \"'defs/dp_us470.def'\"
  316. else
  317. echo shar: Extracting \"'defs/dp_us470.def'\" \(2457 characters\)
  318. sed "s/^X//" >'defs/dp_us470.def' <<'END_OF_FILE'
  319. X*printer
  320. XDataproducts LZR 1260 v47.0
  321. X*paper 22
  322. XLetter
  323. Xstatusdict begin lettertray end
  324. X  612   792    15     8   597   784
  325. XLegal
  326. Xstatusdict begin legaltray end
  327. X  612  1008    15    15   597   993
  328. XStatement
  329. Xstatusdict begin statementtray end
  330. X  396   612    14     8   382   604
  331. XEnvelope.612.792
  332. Xstatusdict begin 3 setpapertray letterenvelope end
  333. X  612   792    15     8   597   784
  334. XEnvelope.612.1008
  335. Xstatusdict begin 3 setpapertray legalenvelope end
  336. X  612  1008    15    15   597   993
  337. XEnvelope.396.612
  338. Xstatusdict begin 3 setpapertray statementenvelope end
  339. X  396   612    14     8   382   604
  340. XEnvelope.595.842
  341. Xstatusdict begin 3 setpapertray a4envelope end
  342. X  595   842    14     8   581   834
  343. XEnvelope.420.595
  344. Xstatusdict begin 3 setpapertray a5envelope end
  345. X  420   595    15     8   405   588
  346. XEnvelope.516.729
  347. Xstatusdict begin 3 setpapertray b5envelope end
  348. X  516   729    13     8   503   721
  349. XEnvelope.567.903
  350. Xstatusdict begin 3 setpapertray folioenvelope end
  351. X  567   903    14     8   581   928
  352. XEnvelope.279.639
  353. Xstatusdict begin 3 setpapertray 3.875x8.875envelope end
  354. X  279   639    13    15   266   624
  355. XEnvelope.297.684
  356. Xstatusdict begin 3 setpapertray 4.125x9.5envelope end
  357. X  297   684    15    15   282   669
  358. XEnvelope.324.747
  359. Xstatusdict begin 3 setpapertray 4.5x10.375envelope end
  360. X  324   747    17    15   307   732
  361. XEnvelope.342.792
  362. Xstatusdict begin 3 setpapertray 4.75x11envelope end
  363. X  342   792    14    15   328   777
  364. XEnvelope.360.828
  365. Xstatusdict begin 3 setpapertray 5x11.5envelope end
  366. X  360   828    15    15   344   813
  367. XEnvelope.468.684
  368. Xstatusdict begin 3 setpapertray 6.5x9.5envelope end
  369. X  468   684    16    15   452   669
  370. XEnvelope.540.756
  371. Xstatusdict begin 3 setpapertray 7.5x10.5envelope end
  372. X  540   756    13    15   527   741
  373. XEnvelope.630.810
  374. Xstatusdict begin 3 setpapertray 8.75x11.25envelope end
  375. X  630   810    16    15   614   795
  376. XA4
  377. X
  378. X  595   842    14     8   581   834
  379. XA5
  380. X
  381. X  420   595    15     8   405   588
  382. XB5
  383. X
  384. X  516   729    13     8   503   721
  385. XFolio
  386. X
  387. X  567   903    14     8   581   928
  388. X*order 3
  389. XNormal
  390. Xstatusdict begin 0 setoutputtray end
  391. Xstatusdict begin 1 setoutputtray end
  392. X*fonts 13
  393. XAvantGarde-Book
  394. XAvantGarde-Demi
  395. XBookman-Demi
  396. XBookman-Light
  397. XCourier
  398. XHelvetica
  399. XHelvetica-Narrow
  400. XNewCenturySchlbk-Roman
  401. XPalatino-Roman
  402. XSymbol
  403. XTimes-Roman
  404. XZapfChancery-MediumItalic
  405. XZapfDingbats
  406. X*slots 4
  407. Xstatusdict begin 0 setpapertray end
  408. Xstatusdict begin 1 setpapertray end
  409. Xstatusdict begin 2 setpapertray end
  410. Xstatusdict begin 3 setpapertray end
  411. X*eof
  412. END_OF_FILE
  413. if test 2457 -ne `wc -c <'defs/dp_us470.def'`; then
  414.     echo shar: \"'defs/dp_us470.def'\" unpacked with wrong size!
  415. fi
  416. # end of 'defs/dp_us470.def'
  417. fi
  418. if test -f 'defs/epl3kf21.def' -a "${1}" != "-c" ; then 
  419.   echo shar: Will not clobber existing file \"'defs/epl3kf21.def'\"
  420. else
  421. echo shar: Extracting \"'defs/epl3kf21.def'\" \(2344 characters\)
  422. sed "s/^X//" >'defs/epl3kf21.def' <<'END_OF_FILE'
  423. X*printer
  424. XEPSON LP-3000PS F2 v52.3
  425. X*paper 13
  426. XLetter
  427. Xstatusdict begin lettertray end
  428. X  612   792    12    13   602   780
  429. XLegal
  430. Xstatusdict begin legaltray end
  431. X  612  1008    12    12   594   996
  432. XExecutive
  433. Xstatusdict begin executivetray end
  434. X  522   756    12    12   510   744
  435. XA4
  436. Xstatusdict begin a4tray end
  437. X  595   842    12    12   579   830
  438. XA5
  439. Xstatusdict begin a5tray end
  440. X  420   595    10    10   408   585
  441. XB5
  442. Xstatusdict begin b5tray end
  443. X  516   729    12    12   502   717
  444. XStatement
  445. Xstatusdict begin halflettertray end
  446. X  396   612    12    12   379   600
  447. XLetterSmall
  448. Xstatusdict begin lettertray end lettersmall
  449. X    0     0    30    30   582   762
  450. XA4Small
  451. Xstatusdict begin a4tray end a4small
  452. X    0     0    31    31   559   811
  453. XGLT
  454. Xstatusdict begin glttray end
  455. X  576   756    12    13   572   744
  456. XGLG
  457. Xstatusdict begin glgtray end
  458. X  612   936    12    13   602   924
  459. XF4
  460. Xstatusdict begin f4tray end
  461. X  595   935    12    12   579   923
  462. XHagaki
  463. Xstatusdict begin hagakitray end
  464. X  284   420    12    12   272   408
  465. X*order 1
  466. XNormal
  467. X*fonts 58
  468. XAvantGarde-Book
  469. XAvantGarde-Demi
  470. XBookman-Demi
  471. XBookman-Light
  472. XCourier
  473. XHelvetica
  474. XHelvetica-Narrow
  475. XNewCenturySchlbk-Roman
  476. XPalatino-Roman
  477. XSymbol
  478. XTimes-Roman
  479. XZapfChancery-MediumItalic
  480. XZapfDingbats
  481. XGothicBBB-Medium-83pv-RKSJ-H
  482. XGothicBBB-Medium-83pv-RKSJ-H
  483. XGothicBBB-Medium-Add-H
  484. XGothicBBB-Medium-Add-RKSJ-H
  485. XGothicBBB-Medium-Add-RKSJ-V
  486. XGothicBBB-Medium-Add-V
  487. XGothicBBB-Medium-EUC-H
  488. XGothicBBB-Medium-EUC-V
  489. XGothicBBB-Medium-Ext-H
  490. XGothicBBB-Medium-Ext-RKSJ-H
  491. XGothicBBB-Medium-Ext-RKSJ-V
  492. XGothicBBB-Medium-Ext-V
  493. XGothicBBB-Medium-H
  494. XGothicBBB-Medium-NWP-H
  495. XGothicBBB-Medium-NWP-V
  496. XGothicBBB-Medium-RKSJ-H
  497. XGothicBBB-Medium-RKSJ-UserGaiji
  498. XGothicBBB-Medium-RKSJ-UserGaiji
  499. XGothicBBB-Medium-RKSJ-V
  500. XGothicBBB-Medium-V
  501. XGothicBBB-Medium.Oubun
  502. XGothicBBB-Medium.Roman
  503. XGothicBBB-Medium.WP-Symbol
  504. XRyumin-Light-83pv-RKSJ-H
  505. XRyumin-Light-83pv-RKSJ-H
  506. XRyumin-Light-Add-H
  507. XRyumin-Light-Add-RKSJ-H
  508. XRyumin-Light-Add-RKSJ-V
  509. XRyumin-Light-Add-V
  510. XRyumin-Light-EUC-H
  511. XRyumin-Light-EUC-V
  512. XRyumin-Light-Ext-H
  513. XRyumin-Light-Ext-RKSJ-H
  514. XRyumin-Light-Ext-RKSJ-V
  515. XRyumin-Light-Ext-V
  516. XRyumin-Light-H
  517. XRyumin-Light-NWP-H
  518. XRyumin-Light-NWP-V
  519. XRyumin-Light-RKSJ-H
  520. XRyumin-Light-RKSJ-UserGaiji
  521. XRyumin-Light-RKSJ-V
  522. XRyumin-Light-V
  523. XRyumin-Light.Oubun
  524. XRyumin-Light.Roman
  525. XRyumin-Light.WP-Symbol
  526. X*slots 2
  527. Xstatusdict begin 0 setpapertray end
  528. Xstatusdict begin 1 setpapertray end
  529. X*eof
  530. END_OF_FILE
  531. if test 2344 -ne `wc -c <'defs/epl3kf21.def'`; then
  532.     echo shar: \"'defs/epl3kf21.def'\" unpacked with wrong size!
  533. fi
  534. # end of 'defs/epl3kf21.def'
  535. fi
  536. if test -f 'defs/ibm20470.def' -a "${1}" != "-c" ; then 
  537.   echo shar: Will not clobber existing file \"'defs/ibm20470.def'\"
  538. else
  539. echo shar: Extracting \"'defs/ibm20470.def'\" \(2581 characters\)
  540. sed "s/^X//" >'defs/ibm20470.def' <<'END_OF_FILE'
  541. X*printer
  542. XIBM 4216-020 v47.0
  543. X*paper 21
  544. XLetter
  545. Xletter
  546. X  612   792    17    19   595   774
  547. XLegal
  548. Xlegal
  549. X  612  1008    17    19   595   990
  550. XA4
  551. Xa4
  552. X  595   842    18    19   577   823
  553. XA5
  554. Xa5
  555. X  420   595    18    19   401   577
  556. XB5
  557. Xb5
  558. X  516   729    18    19   481   690
  559. XStatement
  560. Xstatement
  561. X  396   612    18    19   378   594
  562. XEnvelope.612.792
  563. Xstatusdict begin /envelopewidth 612 def /envelopeheight 792 def envelope end
  564. X  612   792    15     8   597   784
  565. XEnvelope.612.1008
  566. Xstatusdict begin /envelopewidth 612 def /envelopeheight 1008 def envelope end
  567. X  612  1008    15    15   597   993
  568. XEnvelope.396.612
  569. Xstatusdict begin /envelopewidth 396 def /envelopeheight 612 def envelope end
  570. X  396   612    14     8   382   604
  571. XEnvelope.595.842
  572. Xstatusdict begin /envelopewidth 595 def /envelopeheight 842 def envelope end
  573. X  595   842    14     8   581   834
  574. XEnvelope.420.595
  575. Xstatusdict begin /envelopewidth 420 def /envelopeheight 595 def envelope end
  576. X  420   595    15     8   405   588
  577. XEnvelope.516.729
  578. Xstatusdict begin /envelopewidth 516 def /envelopeheight 729 def envelope end
  579. X  516   729    13     8   503   721
  580. XEnvelope.567.903
  581. Xstatusdict begin /envelopewidth 567 def /envelopeheight 903 def envelope end
  582. X  567   903    14     8   581   928
  583. XEnvelope.279.639
  584. Xstatusdict begin /envelopewidth 279 def /envelopeheight 639 def envelope end
  585. X  279   639    13    15   266   624
  586. XEnvelope.297.684
  587. Xstatusdict begin /envelopewidth 297 def /envelopeheight 684 def envelope end
  588. X  297   684    15    15   282   669
  589. XEnvelope.324.747
  590. Xstatusdict begin /envelopewidth 324 def /envelopeheight 747 def envelope end
  591. X  324   747    17    15   307   732
  592. XEnvelope.342.792
  593. Xstatusdict begin /envelopewidth 342 def /envelopeheight 792 def envelope end
  594. X  342   792    14    15   328   777
  595. XEnvelope.360.828
  596. Xstatusdict begin /envelopewidth 360 def /envelopeheight 828 def envelope end
  597. X  360   828    15    15   344   813
  598. XEnvelope.468.684
  599. Xstatusdict begin /envelopewidth 468 def /envelopeheight 684 def envelope end
  600. X  468   684    16    15   452   669
  601. XEnvelope.540.756
  602. Xstatusdict begin /envelopewidth 540 def /envelopeheight 756 def envelope end
  603. X  540   756    13    15   527   741
  604. XEnvelope.630.810
  605. Xstatusdict begin /envelopewidth 630 def /envelopeheight 810 def envelope end
  606. X  630   810    16    15   614   795
  607. X*order 1
  608. XNormal
  609. X*fonts 18
  610. XAvantGarde-Book
  611. XAvantGarde-Demi
  612. XBookman-Demi
  613. XBookman-Light
  614. XCourier
  615. XEmulatorfont
  616. XGaramond-Light
  617. XHelvetica
  618. XHelvetica-Black
  619. XHelvetica-Light
  620. XKorinna-KursivRegular
  621. XKorinna-Regular
  622. XNewCenturySchlbk-Roman
  623. XPalatino-Roman
  624. XSymbol
  625. XTimes-Roman
  626. XZapfChancery-MediumItalic
  627. XZapfDingbats
  628. X*slots 0
  629. X*eof
  630. END_OF_FILE
  631. if test 2581 -ne `wc -c <'defs/ibm20470.def'`; then
  632.     echo shar: \"'defs/ibm20470.def'\" unpacked with wrong size!
  633. fi
  634. # end of 'defs/ibm20470.def'
  635. fi
  636. if test -f 'defs/ibm39521.def' -a "${1}" != "-c" ; then 
  637.   echo shar: Will not clobber existing file \"'defs/ibm39521.def'\"
  638. else
  639. echo shar: Extracting \"'defs/ibm39521.def'\" \(1489 characters\)
  640. sed "s/^X//" >'defs/ibm39521.def' <<'END_OF_FILE'
  641. X*printer
  642. XIBM 4019 v52.1 (39 Fonts)
  643. X*paper 12
  644. XLetter
  645. Xstatusdict begin lettertray end
  646. X  612   792    18    17   597   776
  647. XLegal
  648. Xstatusdict begin legaltray end
  649. X  612  1008    18    17   597   992
  650. XExecutive
  651. Xstatusdict begin executivetray end
  652. X  522   756    18    17   505   740
  653. XA4
  654. Xstatusdict begin a4tray end
  655. X  595   842    18    19   578   827
  656. XA5
  657. Xstatusdict begin a5tray end
  658. X  420   595    18    12   405   580
  659. XB5
  660. Xstatusdict begin b5tray end
  661. X  516   729    18    17   505   712
  662. XEnvelope.279.540
  663. Xstatusdict begin 3.875x7.5envelopetray end
  664. X  279   540    18    13   279   527
  665. XEnvelope.279.639
  666. Xstatusdict begin 3.875x8.875envelopetray end
  667. X  279   639    18    13   279   623
  668. XEnvelope.297.684
  669. Xstatusdict begin 4.125x9.5envelopetray end
  670. X  297   684    18    14   294   668
  671. XEnvelope.312.624
  672. Xstatusdict begin 110x220envelopetray end
  673. X  312   624    18    13   309   608
  674. XEnvelope.460.649
  675. Xstatusdict begin 162x229envelopetray end
  676. X  460   649    18    12   455   634
  677. XEnvelope.499.709
  678. Xstatusdict begin 176x250envelopetray end
  679. X  499   709    18    12   498   693
  680. X*order 1
  681. XNormal
  682. X*fonts 15
  683. XAvantGarde-Book
  684. XAvantGarde-Demi
  685. XBookman-Demi
  686. XBookman-Light
  687. XCourier
  688. XHelvetica
  689. XHelvetica-Black
  690. XHelvetica-Light
  691. XHelvetica-Narrow
  692. XNewCenturySchlbk-Roman
  693. XPalatino-Roman
  694. XSymbol
  695. XTimes-Roman
  696. XZapfChancery-MediumItalic
  697. XZapfDingbats
  698. X*slots 5
  699. Xstatusdict begin 0 setpapertray end
  700. Xstatusdict begin 1 setpapertray end
  701. Xstatusdict begin 2 setpapertray end
  702. Xstatusdict begin 3 setpapertray end
  703. Xstatusdict begin 4 setpapertray end
  704. X*eof
  705. END_OF_FILE
  706. if test 1489 -ne `wc -c <'defs/ibm39521.def'`; then
  707.     echo shar: \"'defs/ibm39521.def'\" unpacked with wrong size!
  708. fi
  709. # end of 'defs/ibm39521.def'
  710. fi
  711. if test -f 'defs/ibm39523.def' -a "${1}" != "-c" ; then 
  712.   echo shar: Will not clobber existing file \"'defs/ibm39523.def'\"
  713. else
  714. echo shar: Extracting \"'defs/ibm39523.def'\" \(1497 characters\)
  715. sed "s/^X//" >'defs/ibm39523.def' <<'END_OF_FILE'
  716. X*printer
  717. XIBM 4019 v52.3 or 52.1 (39 fonts)
  718. X*paper 12
  719. XLetter
  720. Xstatusdict /lettertray get exec
  721. X  612   792    18    17   597   776
  722. XLegal
  723. Xstatusdict /legaltray get exec
  724. X  612  1008    18    18   597   992
  725. XExecutive
  726. Xstatusdict /executivetray get exec
  727. X  522   756    18    18   505   740
  728. XA4
  729. Xstatusdict /a4tray get exec
  730. X  595   842    18    19   578   827
  731. XA5
  732. Xstatusdict /a5tray get exec
  733. X  420   595    18    13   405   580
  734. XB5
  735. Xstatusdict /b5tray get exec
  736. X  516   729    18    18   505   711
  737. XEnvelope.279.540
  738. Xstatusdict /3.875x7.5envelopetray get exec
  739. X  279   540    18    13   278   527
  740. XEnvelope.279.639
  741. Xstatusdict /3.875x8.875envelopetray get exec
  742. X  279   639    18    14   278   623
  743. XEnvelope.297.684
  744. Xstatusdict /4.125x9.5envelopetray get exec
  745. X  297   684    18    15   294   668
  746. XEnvelope.312.624
  747. Xstatusdict /110x220envelopetray get exec
  748. X  312   624    18    14   309   608
  749. XEnvelope.460.649
  750. Xstatusdict /162x229envelopetray get exec
  751. X  460   649    18    12   455   634
  752. XEnvelope.499.709
  753. Xstatusdict /176x250envelopetray get exec
  754. X  499   709    18    13   497   693
  755. X*order 1
  756. XNormal
  757. X*fonts 15
  758. XAvantGarde-Book
  759. XAvantGarde-Demi
  760. XBookman-Demi
  761. XBookman-Light
  762. XCourier
  763. XHelvetica
  764. XHelvetica-Black
  765. XHelvetica-Light
  766. XHelvetica-Narrow
  767. XNewCenturySchlbk-Roman
  768. XPalatino-Roman
  769. XSymbol
  770. XTimes-Roman
  771. XZapfChancery-MediumItalic
  772. XZapfDingbats
  773. X*slots 5
  774. X0 statusdict /setpapertray get exec
  775. X1 statusdict /setpapertray get exec
  776. X2 statusdict /setpapertray get exec
  777. X3 statusdict /setpapertray get exec
  778. X4 statusdict /setpapertray get exec
  779. X*eof
  780. END_OF_FILE
  781. if test 1497 -ne `wc -c <'defs/ibm39523.def'`; then
  782.     echo shar: \"'defs/ibm39523.def'\" unpacked with wrong size!
  783. fi
  784. # end of 'defs/ibm39523.def'
  785. fi
  786. if test -f 'defs/ok801+f1.def' -a "${1}" != "-c" ; then 
  787.   echo shar: Will not clobber existing file \"'defs/ok801+f1.def'\"
  788. else
  789. echo shar: Extracting \"'defs/ok801+f1.def'\" \(2401 characters\)
  790. sed "s/^X//" >'defs/ok801+f1.def' <<'END_OF_FILE'
  791. X*printer
  792. XOKI MICROLINE 801PS+F v52.3
  793. X*paper 9
  794. XA4
  795. Xstatusdict begin a4tray end
  796. X  595   842     8     8   588   828
  797. XA5
  798. Xstatusdict begin a5tray end
  799. X  420   595     8     8   415   582
  800. XB4
  801. Xstatusdict begin b4tray end
  802. X  729  1032     8     8   721  1018
  803. XB5
  804. Xstatusdict begin b5tray end
  805. X  516   729    13     8   508   721
  806. XPostcard
  807. Xstatusdict begin postcardtray end
  808. X  283   420     8     8   271   406
  809. XEnvelope1
  810. Xstatusdict begin env1tray end
  811. X  666   340    13     8   653   335
  812. XEnvelope2
  813. Xstatusdict begin env2tray end
  814. X  581   255    13     8   569   248
  815. XEnvelope3
  816. Xstatusdict begin env3tray end
  817. X  666   298    13     8   653   289
  818. XEnvelope4
  819. Xstatusdict begin env4tray end
  820. X  842   595    13     8   828   588
  821. X*order 1
  822. XNormal
  823. X*fonts 77
  824. XAvantGarde-Book
  825. XAvantGarde-Demi
  826. XBookman-Light
  827. XBookman-Demi
  828. XCourier
  829. XHelvetica
  830. XHelvetica-Narrow
  831. XNewCenturySchlbk-Roman
  832. XPalatino-Roman
  833. XSymbol
  834. XTimes-Roman
  835. XZapfChancery-MediumItalic
  836. XZapfDingbats
  837. XGothicBBB-Medium-83pv-RKSJ-H
  838. XGothicBBB-Medium-Add-H-
  839. XGothicBBB-Medium-Add-RKSJ-H
  840. XGothicBBB-Medium-Add-RKSJ-V
  841. XGothicBBB-Medium-H-
  842. XGothicBBB-Medium-Add-V
  843. XGothicBBB-Medium-EUC-H
  844. XGothicBBB-Medium-EUC-V
  845. XGothicBBB-Medium-Ext-H-
  846. XGothicBBB-Medium-Ext-RKSJ-H-
  847. XGothicBBB-Medium-Ext-RKSJ-V
  848. XGothicBBB-Medium-Ext-V
  849. XGothicBBB-Medium-NWP-H-
  850. XGothicBBB-Medium-NWP-V
  851. XGothicBBB-Medium-RKSJ-H
  852. XGothicBBB-Medium-RKSJ-UserGaiji
  853. XGothicBBB-Medium-RKSJ-V
  854. XGothicBBB-Medium-V-
  855. XGothicBBB-Medium.Oubun
  856. XGothicBBB-Medium.Roman
  857. XGothicBBB-Medium.WP-Symbol
  858. XJun101-Light-83pv-RKSJ-H
  859. XJun101-Light-Add-H-
  860. XJun101-Light-Add-RKSJ-H
  861. XJun101-Light-Add-RKSJ-V
  862. XJun101-Light-Add-V
  863. XJun101-Light-EUC-H
  864. XJun101-Light-EUC-V
  865. XJun101-Light-Ext-H
  866. XJun101-Light-Ext-RKSJ-H
  867. XJun101-Light-Ext-RKSJ-V
  868. XJun101-Light-Ext-V
  869. XJun101-Light-H
  870. XJun101-Light-NWP-H
  871. XJun101-Light-NWP-V
  872. XJun101-Light-RKSJ-H
  873. XJun101-Light-RKSJ-UserGaiji
  874. XJun101-Light-RKSJ-V
  875. XJun101-Light-V
  876. XJun101-Light.Oubun
  877. XPCJun101-Light
  878. XJun101-Light.Roman
  879. XJun101-Light.WP-Symbol
  880. XRyumin-Light-83pv-RKSJ-H
  881. XRyumin-Light-Add-H
  882. XRyumin-Light-Add-RKSJ-H
  883. XRyumin-Light-Add-RKSJ-V
  884. XRyumin-Light-Add-V
  885. XRyumin-Light-EUC-H
  886. XRyumin-Light-EUC-V
  887. XRyumin-Light-Ext-H
  888. XRyumin-Light-Ext-RKSJ-H
  889. XRyumin-Light-Ext-RKSJ-V
  890. XRyumin-Light-Ext-V
  891. XRyumin-Light-H
  892. XRyumin-Light-NWP-H
  893. XRyumin-Light-NWP-V
  894. XRyumin-Light-RKSJ-H
  895. XRyumin-Light-RKSJ-UserGaiji
  896. XRyumin-Light-RKSJ-V
  897. XRyumin-Light-V
  898. XRyumin-Light.Oubun
  899. XRyumin-Light.Roman
  900. XRyumin-Light.WP-Symbol
  901. X*slots 2
  902. Xstatusdict begin 1 setpapertray end
  903. Xstatusdict begin 2 setpapertray end
  904. X*eof
  905. END_OF_FILE
  906. if test 2401 -ne `wc -c <'defs/ok801+f1.def'`; then
  907.     echo shar: \"'defs/ok801+f1.def'\" unpacked with wrong size!
  908. fi
  909. # end of 'defs/ok801+f1.def'
  910. fi
  911. if test -f 'defs/scg20522.def' -a "${1}" != "-c" ; then 
  912.   echo shar: Will not clobber existing file \"'defs/scg20522.def'\"
  913. else
  914. echo shar: Extracting \"'defs/scg20522.def'\" \(2082 characters\)
  915. sed "s/^X//" >'defs/scg20522.def' <<'END_OF_FILE'
  916. X*printer
  917. XScantext 2030/51
  918. X*paper 20
  919. XLetter
  920. Xstatusdict begin 612 792  0 1 setpageparams end
  921. X  612   792     0     0   612   792
  922. XLetter.Transverse
  923. Xstatusdict begin 792 612  0 1 setpageparams end
  924. X  792   612     0     0   792   612
  925. XLetter.Extra
  926. Xstatusdict begin 684 864 0 1 setpageparams end
  927. X  684   864     0     0   684   864
  928. XLetter.Extra.Transverse
  929. Xstatusdict begin 864 684  0 1 setpageparams end
  930. X  864   684     0     0   864   684
  931. XLegal
  932. Xstatusdict begin 612 1008 0 1 setpageparams end
  933. X  612  1008     0     0   612  1008
  934. XLegal.Transverse
  935. Xstatusdict begin 1008 612 0 1 setpageparams end
  936. X 1008   612     0     0  1008   612
  937. XLegal.Extra
  938. Xstatusdict begin 684 1080 0 1 setpageparams end
  939. X  684  1080     0     0   684  1080
  940. XLegal.Extra.Transverse
  941. Xstatusdict begin 1080 684 0 1 setpageparams end
  942. X 1080   684     0     0  1080   684
  943. XTabloid
  944. Xstatusdict begin 792 1224 0 1 setpageparams end
  945. X  792  1224     0     0   792  1224
  946. XTabloid.Transverse
  947. Xstatusdict begin 1224 792 0 1 setpageparams end
  948. X 1224   792     0     0  1224   792
  949. XTabloid.Extra
  950. Xstatusdict begin 842 1296 0 1 setpageparams end
  951. X  842  1296     0     0   842  1296
  952. XTabloid.Extra.Transverse
  953. Xstatusdict begin 1296 842 0 1 setpageparams end
  954. X 1296   842     0     0  1296   842
  955. XA4
  956. Xstatusdict begin 596 842 0 1 setpageparams end
  957. X  595   842     0     0   595   842
  958. XA4.Transverse
  959. Xstatusdict begin 842 596 0 1 setpageparams end
  960. X  841   842     0     0   841   842
  961. XA4.Extra
  962. Xstatusdict begin 668 914 0 1 setpageparams end
  963. X  667   842     0     0   667   842
  964. XA4.Extra.Transverse
  965. Xstatusdict begin 914 668 0 1 setpageparams end
  966. X  913   842     0     0   913   842
  967. XA3
  968. Xstatusdict begin 842 1191 0 1 setpageparams end
  969. X  841   842     0     0   841   842
  970. XA3.Transverse
  971. Xstatusdict begin 1191 842 0 1 setpageparams end
  972. X 1190   842     0     0  1190   842
  973. XA3.Extra
  974. Xstatusdict begin 914 1263 0 1 setpageparams end
  975. X  913   842     0     0   913   842
  976. XA3.Extra.Transverse
  977. Xstatusdict begin 1263 914 0 1 setpageparams end
  978. X 1262   842     0     0  1262   842
  979. X*order 1
  980. XNormal
  981. X*fonts 5
  982. XCourier
  983. XHelvetica
  984. XHelvetica-Narrow
  985. XSymbol
  986. XTimes-Roman
  987. X*slots 0
  988. X*eof
  989. END_OF_FILE
  990. if test 2082 -ne `wc -c <'defs/scg20522.def'`; then
  991.     echo shar: \"'defs/scg20522.def'\" unpacked with wrong size!
  992. fi
  993. # end of 'defs/scg20522.def'
  994. fi
  995. if test -f 'defs/tkphzr31.def' -a "${1}" != "-c" ; then 
  996.   echo shar: Will not clobber existing file \"'defs/tkphzr31.def'\"
  997. else
  998. echo shar: Extracting \"'defs/tkphzr31.def'\" \(1932 characters\)
  999. sed "s/^X//" >'defs/tkphzr31.def' <<'END_OF_FILE'
  1000. X*printer
  1001. XTektronix Phaser III PXi v2010.116
  1002. X*paper 21
  1003. XLetter
  1004. X2 dict dup /PageSize [612 792] put
  1005. X  612   792    21    15   597   776
  1006. XLegal
  1007. X2 dict dup /PageSize [612 1008] put
  1008. X  612  1008    15    21   596   993
  1009. XTabloid
  1010. X2 dict dup /PageSize [792 1224] put
  1011. X  792  1224    15    21   776  1209
  1012. XTabloidExtra
  1013. X2 dict dup /PageSize [864 1296] put
  1014. X  864  1296    15    21   847  1281
  1015. XA4
  1016. X2 dict dup /PageSize [595 842] put
  1017. X  595   842    21    15   580   826
  1018. XA4.3
  1019. X2 dict dup /PageSize [281 595] put
  1020. X  281   595    15    21   266   580
  1021. XA3
  1022. X2 dict dup /PageSize [842 1190] put
  1023. X  842  1190    15    21   826  1175
  1024. X4x6
  1025. X2 dict dup /PageSize [288 432] put
  1026. X  288   432    15    21   271   417
  1027. X5x7
  1028. X2 dict dup /PageSize [360 504] put
  1029. X  360   504    15    21   344   489
  1030. XA5
  1031. X2 dict dup /PageSize [420 595] put
  1032. X  420   595    15    21   404   580
  1033. XA6
  1034. X2 dict dup /PageSize [297 420] put
  1035. X  297   420    15    21   281   405
  1036. XISOB4
  1037. X2 dict dup /PageSize [709 1001] put
  1038. X  709  1001    15    21   694   986
  1039. XISOB5
  1040. X2 dict dup /PageSize [499 709] put
  1041. X  499   709    15    21   483   694
  1042. XISOB6
  1043. X2 dict dup /PageSize [354 499] put
  1044. X  354   499    15    21   339   484
  1045. XCompliment
  1046. X2 dict dup /PageSize [283 595] put
  1047. X  283   595    15    21   268   580
  1048. XComm10
  1049. X2 dict dup /PageSize [297 684] put
  1050. X  297   684    15    21   281   669
  1051. XC6
  1052. X2 dict dup /PageSize [323 459] put
  1053. X  323   459    15    21   306   444
  1054. XDL
  1055. X2 dict dup /PageSize [312 624] put
  1056. X  312   624    15    21   296   609
  1057. XA4.3Envelope
  1058. X2 dict dup /PageSize [312 624] put
  1059. X  312   624    15    21   296   609
  1060. XA4.2Envelope
  1061. X2 dict dup /PageSize [459 624] put
  1062. X  459   624    15    21   442   609
  1063. XA4Envelope
  1064. X2 dict dup /PageSize [624 918] put
  1065. X  624   918    15    21   607   903
  1066. X*order 1
  1067. X
  1068. X*fonts 14
  1069. XAvantGarde-Book
  1070. XAvantGarde-Demi
  1071. XBookman-Demi
  1072. XBookman-Light
  1073. XCourier
  1074. XHelvetica
  1075. XHelvetica-Condensed
  1076. XHelvetica-Narrow
  1077. XNewCenturySchlbk-Roman
  1078. XPalatino-Roman
  1079. XSymbol
  1080. XTimes-Roman
  1081. XZapfChancery-MediumItalic
  1082. XZapfDingbats
  1083. X*slots 0
  1084. X*eof
  1085. END_OF_FILE
  1086. if test 1932 -ne `wc -c <'defs/tkphzr31.def'`; then
  1087.     echo shar: \"'defs/tkphzr31.def'\" unpacked with wrong size!
  1088. fi
  1089. # end of 'defs/tkphzr31.def'
  1090. fi
  1091. if test -f 'defs/uni39521.def' -a "${1}" != "-c" ; then 
  1092.   echo shar: Will not clobber existing file \"'defs/uni39521.def'\"
  1093. else
  1094. echo shar: Extracting \"'defs/uni39521.def'\" \(1494 characters\)
  1095. sed "s/^X//" >'defs/uni39521.def' <<'END_OF_FILE'
  1096. X*printer
  1097. XUNISYS AP9210 v52.1 (39 Fonts)
  1098. X*paper 12
  1099. XLetter
  1100. Xstatusdict /lettertray get exec
  1101. X  612   792    18    17   597   776
  1102. XLegal
  1103. Xstatusdict /legaltray get exec
  1104. X  612  1008    18    18   597   992
  1105. XExecutive
  1106. Xstatusdict /executivetray get exec
  1107. X  522   756    18    18   505   740
  1108. XA4
  1109. Xstatusdict /a4tray get exec
  1110. X  595   842    18    19   578   827
  1111. XA5
  1112. Xstatusdict /a5tray get exec
  1113. X  420   595    18    13   405   580
  1114. XB5
  1115. Xstatusdict /b5tray get exec
  1116. X  516   729    18    18   505   711
  1117. XEnvelope.279.540
  1118. Xstatusdict /3.875x7.5envelopetray get exec
  1119. X  279   540    18    13   278   527
  1120. XEnvelope.279.639
  1121. Xstatusdict /3.875x8.875envelopetray get exec
  1122. X  279   639    18    14   278   623
  1123. XEnvelope.297.684
  1124. Xstatusdict /4.125x9.5envelopetray get exec
  1125. X  297   684    18    15   294   668
  1126. XEnvelope.312.624
  1127. Xstatusdict /110x220envelopetray get exec
  1128. X  312   624    18    14   309   608
  1129. XEnvelope.460.649
  1130. Xstatusdict /162x229envelopetray get exec
  1131. X  460   649    18    12   455   634
  1132. XEnvelope.499.709
  1133. Xstatusdict /176x250envelopetray get exec
  1134. X  499   709    18    13   497   693
  1135. X*order 1
  1136. XNormal
  1137. X*fonts 15
  1138. XAvantGarde-Book
  1139. XAvantGarde-Demi
  1140. XBookman-Demi
  1141. XBookman-Light
  1142. XCourier
  1143. XHelvetica
  1144. XHelvetica-Black
  1145. XHelvetica-Light
  1146. XHelvetica-Narrow
  1147. XNewCenturySchlbk-Roman
  1148. XPalatino-Roman
  1149. XSymbol
  1150. XTimes-Roman
  1151. XZapfChancery-MediumItalic
  1152. XZapfDingbats
  1153. X*slots 5
  1154. X0 statusdict /setpapertray get exec
  1155. X1 statusdict /setpapertray get exec
  1156. X2 statusdict /setpapertray get exec
  1157. X3 statusdict /setpapertray get exec
  1158. X4 statusdict /setpapertray get exec
  1159. X*eof
  1160. END_OF_FILE
  1161. if test 1494 -ne `wc -c <'defs/uni39521.def'`; then
  1162.     echo shar: \"'defs/uni39521.def'\" unpacked with wrong size!
  1163. fi
  1164. # end of 'defs/uni39521.def'
  1165. fi
  1166. if test -f 'getopt.c' -a "${1}" != "-c" ; then 
  1167.   echo shar: Will not clobber existing file \"'getopt.c'\"
  1168. else
  1169. echo shar: Extracting \"'getopt.c'\" \(2491 characters\)
  1170. sed "s/^X//" >'getopt.c' <<'END_OF_FILE'
  1171. X/* ta=4 */
  1172. X
  1173. X#include <stdio.h>
  1174. X
  1175. X
  1176. X/*
  1177. X * Here's something you've all been waiting for:  the AT&T public domain
  1178. X * source for getopt(3).  It is the code which was given out at the 1985
  1179. X * UNIFORUM conference in Dallas.  I obtained it by electronic mail
  1180. X * directly from AT&T.  The people there assure me that it is indeed
  1181. X * in the public domain.
  1182. X * 
  1183. X * There is no manual page.  That is because the one they gave out at
  1184. X * UNIFORUM was slightly different from the current System V Release 2
  1185. X * manual page.  The difference apparently involved a note about the
  1186. X * famous rules 5 and 6, recommending using white space between an option
  1187. X * and its first argument, and not grouping options that have arguments.
  1188. X * Getopt itself is currently lenient about both of these things White
  1189. X * space is allowed, but not mandatory, and the last option in a group can
  1190. X * have an argument.  That particular version of the man page evidently
  1191. X * has no official existence, and my source at AT&T did not send a copy.
  1192. X * The current SVR2 man page reflects the actual behavor of this getopt.
  1193. X * However, I am not about to post a copy of anything licensed by AT&T.
  1194. X */
  1195. X
  1196. X/* This include is needed only to get "index" defined as "strchr" on Sys V. */
  1197. X/*
  1198. X#include "defs.h"
  1199. X*/
  1200. X
  1201. X#define index(a,b)        strchr(a,b)
  1202. X
  1203. X/*LINTLIBRARY*/
  1204. X#define NULL    0
  1205. X#define EOF    (-1)
  1206. X#define ERR(s, c)    if(opterr){\
  1207. X    extern int write();\
  1208. X    char errbuf[2];\
  1209. X    errbuf[0] = c; errbuf[1] = '\n';\
  1210. X    (void) write(2, argv[0], (unsigned)strlen(argv[0]));\
  1211. X    (void) write(2, s, (unsigned)strlen(s));\
  1212. X    (void) write(2, errbuf, 2);}
  1213. X
  1214. Xchar *strchr();
  1215. X
  1216. Xint    opterr = 1;
  1217. Xint    optind = 1;
  1218. Xint    optopt;
  1219. Xchar    *optarg;
  1220. X
  1221. Xint
  1222. Xgetopt(argc, argv, opts)
  1223. Xint    argc;
  1224. Xchar    **argv, *opts;
  1225. X{
  1226. X    static int sp = 1;
  1227. X    register int c;
  1228. X    register char *cp;
  1229. X
  1230. X    if(sp == 1)
  1231. X        if(optind >= argc ||
  1232. X           argv[optind][0] != '-' || argv[optind][1] == '\0')
  1233. X            return(EOF);
  1234. X        else if(strcmp(argv[optind], "--") == NULL) {
  1235. X            optind++;
  1236. X            return(EOF);
  1237. X        }
  1238. X    optopt = c = argv[optind][sp];
  1239. X    if(c == ':' || (cp=index(opts, c)) == NULL) {
  1240. X        ERR(": illegal option -- ", c);
  1241. X        if(argv[optind][++sp] == '\0') {
  1242. X            optind++;
  1243. X            sp = 1;
  1244. X        }
  1245. X        return('?');
  1246. X    }
  1247. X    if(*++cp == ':') {
  1248. X        if(argv[optind][sp+1] != '\0')
  1249. X            optarg = &argv[optind++][sp+1];
  1250. X        else if(++optind >= argc) {
  1251. X            ERR(": option requires an argument -- ", c);
  1252. X            sp = 1;
  1253. X            return('?');
  1254. X        } else
  1255. X            optarg = argv[optind++];
  1256. X        sp = 1;
  1257. X    } else {
  1258. X        if(argv[optind][++sp] == '\0') {
  1259. X            sp = 1;
  1260. X            optind++;
  1261. X        }
  1262. X        optarg = NULL;
  1263. X    }
  1264. X    return(c);
  1265. X}
  1266. END_OF_FILE
  1267. if test 2491 -ne `wc -c <'getopt.c'`; then
  1268.     echo shar: \"'getopt.c'\" unpacked with wrong size!
  1269. fi
  1270. # end of 'getopt.c'
  1271. fi
  1272. if test -f 'man/psfbanner.1' -a "${1}" != "-c" ; then 
  1273.   echo shar: Will not clobber existing file \"'man/psfbanner.1'\"
  1274. else
  1275. echo shar: Extracting \"'man/psfbanner.1'\" \(1519 characters\)
  1276. sed "s/^X//" >'man/psfbanner.1' <<'END_OF_FILE'
  1277. X.\" $Id: psfbanner.1,v 3.1 1991/11/27 06:10:44 ajf Exp ajf $
  1278. X.TH psfbanner 1 ""
  1279. X.SH NAME
  1280. Xpsfbanner \- print a postscript banner page
  1281. X.SH SYNOPSIS
  1282. X.nf
  1283. Xpsfbanner  Userid Name Requestid Printer 
  1284. X          Options Date Machineid Title
  1285. X.fi
  1286. X          [
  1287. X.B -b
  1288. X.I n
  1289. X] [
  1290. X.B -g
  1291. X.I size
  1292. X] [
  1293. X.B -u
  1294. X.I f.def
  1295. X]
  1296. X.nf
  1297. X
  1298. Xwhere:   Userid    = the originating user's id
  1299. X         Name      = user gecos name
  1300. X         Requestid = printer request string
  1301. X         Printer   = printer name
  1302. X         Options   = use options with -o
  1303. X         Date      = current date and time
  1304. X         Machineid = host name
  1305. X         Title     = user provided job title
  1306. X         -b n      = select paper bin n
  1307. X         -g size   = select paper size (letter, b5, etc)
  1308. X         -u f.def  = use this printer definition file
  1309. X
  1310. X.SH DESCRIPTION
  1311. X
  1312. X.I Psfbanner
  1313. Xprints a job banner using parameters passed to it
  1314. Xfrom the
  1315. X.I lp/lpsched
  1316. Xspooler.
  1317. X
  1318. XThe paramters Userid,..., Title are required to
  1319. Xexist in the order indicated.  Options follow
  1320. Xthe parameters.
  1321. X
  1322. X.SH OPTIONS
  1323. X.TP
  1324. X.B -b n
  1325. Xselects paper bin
  1326. X.I n.
  1327. XIf not specified, the default paper bin is used.
  1328. X
  1329. X.TP
  1330. X.B -g size
  1331. Xselects the paper size such as A4, Letter, etc.
  1332. XIf not specified, then the default paper size is used.
  1333. X
  1334. X.TP
  1335. X.B -g f.def
  1336. Xselects an alternate version of
  1337. X.I psfprint.def
  1338. Xto describe the printer characteristics.
  1339. X
  1340. X.SH NOTES
  1341. X.I Psfbanner
  1342. Xis used to print banners as part of a printer spooling
  1343. Xsystem and is not normally used interactively.  It is
  1344. Xactivated in printer models.
  1345. X
  1346. X.SH FILES
  1347. X/usr/spool/lp/model/psf
  1348. END_OF_FILE
  1349. if test 1519 -ne `wc -c <'man/psfbanner.1'`; then
  1350.     echo shar: \"'man/psfbanner.1'\" unpacked with wrong size!
  1351. fi
  1352. # end of 'man/psfbanner.1'
  1353. fi
  1354. if test -f 'man/psfbanner.doc' -a "${1}" != "-c" ; then 
  1355.   echo shar: Will not clobber existing file \"'man/psfbanner.doc'\"
  1356. else
  1357. echo shar: Extracting \"'man/psfbanner.doc'\" \(1523 characters\)
  1358. sed "s/^X//" >'man/psfbanner.doc' <<'END_OF_FILE'
  1359. X
  1360. X
  1361. X
  1362. X     psfbanner(1)           Unix System V          psfbanner(1)
  1363. X
  1364. X
  1365. X
  1366. X     NAME
  1367. X      psfbanner - print a postscript banner    page
  1368. X
  1369. X     SYNOPSIS
  1370. X      psfbanner  Userid Name Requestid Printer
  1371. X            Options Date Machineid Title
  1372. X            [ -b n ] [ -g size ] [ -u f.def ]
  1373. X
  1374. X      where:   Userid    = the originating user's id
  1375. X           Name         = user gecos name
  1376. X           Requestid = printer request string
  1377. X           Printer   = printer name
  1378. X           Options   = use options with    -o
  1379. X           Date         = current date and    time
  1380. X           Machineid = host name
  1381. X           Title     = user provided job title
  1382. X           -b n         = select paper bin    n
  1383. X           -g size   = select paper size (letter, b5, etc)
  1384. X           -u f.def  = use this    printer    definition file
  1385. X
  1386. X
  1387. X     DESCRIPTION
  1388. X      Psfbanner prints a job banner    using parameters passed    to it
  1389. X      from the lp/lpsched spooler.
  1390. X
  1391. X      The paramters    Userid,..., Title are required to exist    in the
  1392. X      order    indicated.  Options follow the parameters.
  1393. X
  1394. X
  1395. X     OPTIONS
  1396. X      -b n selects paper bin n. If not specified, the default
  1397. X           paper bin is used.
  1398. X
  1399. X
  1400. X      -g size
  1401. X           selects the paper size such as A4, Letter, etc.    If not
  1402. X           specified, then the default paper size is used.
  1403. X
  1404. X
  1405. X      -g f.def
  1406. X           selects an alternate version of psfprint.def to
  1407. X           describe    the printer characteristics.
  1408. X
  1409. X
  1410. X     NOTES
  1411. X      Psfbanner is used to print banners as    part of    a printer
  1412. X      spooling system and is not normally used interactively.  It
  1413. X      is activated in printer models.
  1414. X
  1415. X
  1416. X     FILES
  1417. X      /usr/spool/lp/model/psf
  1418. X
  1419. X
  1420. X
  1421. X     Page 1                         (printed 1/18/92)
  1422. X
  1423. X
  1424. X
  1425. END_OF_FILE
  1426. if test 1523 -ne `wc -c <'man/psfbanner.doc'`; then
  1427.     echo shar: \"'man/psfbanner.doc'\" unpacked with wrong size!
  1428. fi
  1429. # end of 'man/psfbanner.doc'
  1430. fi
  1431. if test -f 'man/psfmail.1' -a "${1}" != "-c" ; then 
  1432.   echo shar: Will not clobber existing file \"'man/psfmail.1'\"
  1433. else
  1434. echo shar: Extracting \"'man/psfmail.1'\" \(1987 characters\)
  1435. sed "s/^X//" >'man/psfmail.1' <<'END_OF_FILE'
  1436. X.\" $Id: psfmail.1,v 3.1 1991/11/27 06:10:44 ajf Exp ajf $
  1437. X.TH PSFMAIL 1 ""
  1438. X.SH NAME
  1439. Xpsfmail \- postscript mail pre-filter (psf)
  1440. X.SH SYNOPSIS
  1441. X
  1442. X.B psfmail
  1443. X[
  1444. X.B -s
  1445. X]
  1446. X.I file file ... > out.file
  1447. X.nf
  1448. X
  1449. Xwhere     -s = show all header lines
  1450. X        file = input files (or stdin)
  1451. X.fi
  1452. X
  1453. X.SH EXAMPLE
  1454. X
  1455. X      psfmail mail.file | psf -2 | lp
  1456. X
  1457. X.SH DESCRIPTION
  1458. X
  1459. X.I Psfmail
  1460. Xis a very simple filter for mail documents. It italicizes 
  1461. Xthe Subject: and attempts to place peoples names in boldface. It can be
  1462. Xused to print entire mail boxes while suppressing unnecessary mail
  1463. Xheaders.
  1464. X
  1465. XNormally, 
  1466. X.I psfmail
  1467. Xis not used directly:
  1468. X.I psfmbox
  1469. Xis used.  This is a wrapper for
  1470. X.I psfmail
  1471. Xand is much more convenient to use.
  1472. X
  1473. XMail box message file may be printed with:
  1474. X
  1475. X.nf
  1476. X      psfmail mail.file | psf -2 | lp
  1477. X.fi
  1478. X
  1479. XIf 
  1480. X.I psf
  1481. Xhas been installed as part of the print spooling system,
  1482. Xthen the output from psfmail may be passed directly to the 
  1483. X.I lp
  1484. Xspooler with:
  1485. X
  1486. X.nf
  1487. X     psfmail mail.file | lp
  1488. X.fi
  1489. X
  1490. XIf multiple mailboxes are printed, it might be preferable to use the
  1491. Xcommand (refer to the man pages for psfmbox):
  1492. X.nf
  1493. X
  1494. X      psfmbox file file ...
  1495. X.fi
  1496. X
  1497. XThis date-stamps and identifies the mail box name.  Each mailbox file
  1498. Xis treated as a separate print job.  This may result in printer banner
  1499. Xpages for each file.
  1500. X
  1501. XIf 
  1502. X.I psfmail
  1503. Xand
  1504. X.I psf
  1505. Xare used with 
  1506. X.I ELM
  1507. Xthe user's elmrc file should be modified
  1508. Xto specify the following "print" line (or reasonable approximation):
  1509. X
  1510. X.nf
  1511. X      print = /usr/bin/psfmail %s | /usr/bin/psf -2 | /usr/bin/lp
  1512. X.fi
  1513. X
  1514. X.SH OPTIONS
  1515. X
  1516. X.TP .9i
  1517. X.B \-s
  1518. Xcauses all mail headers to be printed.  If this option is not
  1519. Xspecified, then psfmail will suppress "meaningless" headers such as:
  1520. X
  1521. X.nf
  1522. X            Received:
  1523. X            References:
  1524. X            Path:
  1525. X            Message-ID:
  1526. X.fi
  1527. X
  1528. Xand other.  If additional headers are to be ignored, the source for
  1529. Xpsfmail.c must be modified.
  1530. X
  1531. X.SH SEE ALSO
  1532. Xpsf psfbs  psfmbox psfnroff psfman
  1533. X.fi
  1534. X
  1535. X.SH AUTHOR
  1536. XTony Field.         tony@ajfcal.cuc.ab.ca
  1537. END_OF_FILE
  1538. if test 1987 -ne `wc -c <'man/psfmail.1'`; then
  1539.     echo shar: \"'man/psfmail.1'\" unpacked with wrong size!
  1540. fi
  1541. # end of 'man/psfmail.1'
  1542. fi
  1543. if test -f 'man/psfmail.doc' -a "${1}" != "-c" ; then 
  1544.   echo shar: Will not clobber existing file \"'man/psfmail.doc'\"
  1545. else
  1546. echo shar: Extracting \"'man/psfmail.doc'\" \(2127 characters\)
  1547. sed "s/^X//" >'man/psfmail.doc' <<'END_OF_FILE'
  1548. X
  1549. X
  1550. X
  1551. X     PSFMAIL(1)               Unix System V            PSFMAIL(1)
  1552. X
  1553. X
  1554. X
  1555. X     NAME
  1556. X      psfmail - postscript mail pre-filter (psf)
  1557. X
  1558. X     SYNOPSIS
  1559. X      psfmail [ -s ] file file ... > out.file
  1560. X
  1561. X      where        -s = show all header lines
  1562. X          file = input files (or stdin)
  1563. X
  1564. X
  1565. X     EXAMPLE
  1566. X        psfmail    mail.file | psf    -2 | lp
  1567. X
  1568. X
  1569. X     DESCRIPTION
  1570. X      Psfmail is a very simple filter for mail documents. It
  1571. X      italicizes the Subject: and attempts to place    peoples    names
  1572. X      in boldface. It can be used to print entire mail boxes while
  1573. X      suppressing unnecessary mail headers.
  1574. X
  1575. X      Normally, psfmail is not used    directly: psfmbox is used.
  1576. X      This is a wrapper for    psfmail    and is much more convenient to
  1577. X      use.
  1578. X
  1579. X      Mail box message file    may be printed with:
  1580. X
  1581. X        psfmail    mail.file | psf    -2 | lp
  1582. X
  1583. X      If psf has been installed as part of the print spooling
  1584. X      system, then the output from psfmail may be passed directly
  1585. X      to the lp spooler with:
  1586. X
  1587. X           psfmail mail.file | lp
  1588. X
  1589. X      If multiple mailboxes    are printed, it    might be preferable to
  1590. X      use the command (refer to the    man pages for psfmbox):
  1591. X
  1592. X        psfmbox    file file ...
  1593. X
  1594. X      This date-stamps and identifies the mail box name.  Each
  1595. X      mailbox file is treated as a separate    print job.  This may
  1596. X      result in printer banner pages for each file.
  1597. X
  1598. X      If psfmail and psf are used with ELM the user's elmrc    file
  1599. X      should be modified to    specify    the following "print" line (or
  1600. X      reasonable approximation):
  1601. X
  1602. X        print =    /usr/bin/psfmail %s | /usr/bin/psf -2 |    /usr/bin/lp
  1603. X
  1604. X
  1605. X     OPTIONS
  1606. X      -s       causes all mail headers to be printed.  If this
  1607. X
  1608. X
  1609. X
  1610. X     Page 1                         (printed 1/18/92)
  1611. X
  1612. X
  1613. X
  1614. X
  1615. X
  1616. X
  1617. X     PSFMAIL(1)               Unix System V            PSFMAIL(1)
  1618. X
  1619. X
  1620. X
  1621. X           option is not specified, then psfmail will suppress
  1622. X           "meaningless" headers such as:
  1623. X
  1624. X                   Received:
  1625. X                   References:
  1626. X                   Path:
  1627. X                   Message-ID:
  1628. X
  1629. X           and other.  If additional headers are to be
  1630. X           ignored, the    source for psfmail.c must be modified.
  1631. X
  1632. X
  1633. X     SEE ALSO
  1634. X      psf psfbs  psfmbox psfnroff psfman
  1635. X
  1636. X
  1637. X     AUTHOR
  1638. X      Tony Field.          tony@ajfcal.cuc.ab.ca
  1639. X
  1640. X
  1641. X
  1642. X
  1643. X
  1644. X
  1645. X
  1646. X
  1647. X
  1648. X
  1649. X
  1650. X
  1651. X
  1652. X
  1653. X
  1654. X
  1655. X
  1656. X
  1657. X
  1658. X
  1659. X
  1660. X
  1661. X
  1662. X
  1663. X
  1664. X
  1665. X
  1666. X
  1667. X
  1668. X
  1669. X
  1670. X
  1671. X
  1672. X
  1673. X
  1674. X
  1675. X
  1676. X     Page 2                         (printed 1/18/92)
  1677. X
  1678. X
  1679. X
  1680. END_OF_FILE
  1681. if test 2127 -ne `wc -c <'man/psfmail.doc'`; then
  1682.     echo shar: \"'man/psfmail.doc'\" unpacked with wrong size!
  1683. fi
  1684. # end of 'man/psfmail.doc'
  1685. fi
  1686. if test -f 'psf.h' -a "${1}" != "-c" ; then 
  1687.   echo shar: Will not clobber existing file \"'psf.h'\"
  1688. else
  1689. echo shar: Extracting \"'psf.h'\" \(2431 characters\)
  1690. sed "s/^X//" >'psf.h' <<'END_OF_FILE'
  1691. X/* ta=4
  1692. X                p s f . h
  1693. X        general configuration for psf.
  1694. X*/
  1695. X/*
  1696. X * $Id: psf.h,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
  1697. X*/
  1698. X/**** Configuration information:  if not defined in the makefile *****
  1699. X *
  1700. X *    DOS users:  modify these defaults, no other #defines are necessary
  1701. X *                 for msdos users.
  1702. X */
  1703. X
  1704. X/* default paper size */
  1705. X
  1706. X#ifndef PAPERTYPE
  1707. X#define PAPERTYPE "letter"
  1708. X#endif
  1709. X
  1710. X/* location of binaries: so psf can find psfdoub */
  1711. X
  1712. X#ifndef BINDIR
  1713. X#if defined(MSDOS) || defined(__MSDOS__)
  1714. X#define BINDIR "c:/bin"
  1715. X#else
  1716. X#define BINDIR "/local/bin"
  1717. X#endif
  1718. X#endif
  1719. X
  1720. X/* where is your printer definition file located? */
  1721. X
  1722. X#ifndef PDEF
  1723. X#if defined(MSDOS) || defined(__MSDOS__)
  1724. X#define PDEF "psfprint.def"
  1725. X#else
  1726. X#define PDEF "/local/lib/psfprint.def"
  1727. X#endif
  1728. X#endif
  1729. X
  1730. X
  1731. X/* if two paper trays are available, and you want to use them for
  1732. X * double sided printing, then make HOPPER defined.
  1733. X */
  1734. X
  1735. X/* #define HOPPER  */
  1736. X
  1737. X/* prefix name for "book" temporary file for reversed or book print
  1738. X */
  1739. X
  1740. X#ifndef TEMPFILE
  1741. X#if defined(MSDOS) || defined(__MSDOS__)
  1742. X#define TEMPFILE    "Psf"
  1743. X#else
  1744. X#define TEMPFILE    "/tmp/Psf"
  1745. X#endif
  1746. X#endif
  1747. X
  1748. X/* bookwork file name if multiple hoppers not available.
  1749. X */
  1750. X#ifndef BOOKDFILE
  1751. X#define BOOKFILE "psfbook.psd"
  1752. X#endif
  1753. X
  1754. X/* change the following names only if you have reason to change
  1755. X * the default names of psfdoub or psfbanner
  1756. X */
  1757. X
  1758. X#ifndef PSFDOUB
  1759. X#define PSFDOUB "psfdoub"
  1760. X#endif
  1761. X
  1762. X#ifndef PSFBANNER
  1763. X#define PSFBANNER "psfbanner"
  1764. X#endif
  1765. X
  1766. X/*********  end configuration **********/
  1767. X
  1768. X/*     the following are 'escape' sequences used by psf, psfbs & psfmail
  1769. X    used to generate bold, underline, etc.  What should be used
  1770. X    for EBCDIC???  change if needed....
  1771. X*/
  1772. X
  1773. X#define    ESCAPE                0x05        /* CTL/E */
  1774. X
  1775. X#define BEGIN_BOLD            "\005B"
  1776. X#define END_BOLD            "\005b"
  1777. X
  1778. X#define BEGIN_UNDERLINE        "\005U"
  1779. X#define END_UNDERLINE        "\005u"
  1780. X
  1781. X#define BEGIN_ITALICS        "\005I"
  1782. X#define END_ITALICS            "\005i"
  1783. X
  1784. X/* for psfmbox/psfmail */
  1785. X
  1786. X#define    BEGIN_NAME            "\005F1\005B\005P13"    /* Helvetica bold 13 point */
  1787. X#define END_NAME            "\005p\005b\005f"        
  1788. X
  1789. X#define BEGIN_SUBJECT        "\005P13\005F1\005B\005I"    /*    Helvetica bold italic 13 point */
  1790. X#define END_SUBJECT            "\005i\005b\005f\005p"        /*    return to normal point, font */
  1791. X
  1792. X/* other stuff */
  1793. X
  1794. X#define    min(x,y)        ((x) < (y) ? (x) : (y))
  1795. X#define    max(x,y)        ((x) > (y) ? (x) : (y))
  1796. X
  1797. X#define MAX_PAGES    1000        /* max pages in a book */
  1798. X#define LONG_STR    1000        /* max bytes in an input text line */
  1799. X
  1800. X#define    NSLOTS        6
  1801. X#define NPAGE        30
  1802. END_OF_FILE
  1803. if test 2431 -ne `wc -c <'psf.h'`; then
  1804.     echo shar: \"'psf.h'\" unpacked with wrong size!
  1805. fi
  1806. # end of 'psf.h'
  1807. fi
  1808. if test -f 'psfman.SH' -a "${1}" != "-c" ; then 
  1809.   echo shar: Will not clobber existing file \"'psfman.SH'\"
  1810. else
  1811. echo shar: Extracting \"'psfman.SH'\" \(1501 characters\)
  1812. sed "s/^X//" >'psfman.SH' <<'END_OF_FILE'
  1813. X:
  1814. X# $Id: psfman.SH,v 3.2 1992/01/19 05:50:33 ajf Exp ajf $
  1815. X#    Print man pages using psf filters -- guess about chapters,
  1816. X#    even allow Xenix chapter conventions.
  1817. X#
  1818. X#    The "-r 3" option in psfbs below removes 3 blank lines between
  1819. X#    pages (to allow correct printing in the imageable area of the
  1820. X#    postscript printer).  Different printers may require different
  1821. X#    number of lines to remove.  (see psfbs.1)
  1822. X
  1823. X#    If European paper sizes are used, possibly "force" psf to
  1824. X#    use 63 lines of output.  This may (i.e. untested) work for A4:
  1825. X#
  1826. X#       psfbs -i -r 3 | psf -l63 -c80 -2 | PRINTER $banneropt
  1827. X
  1828. X# set the binary name for man:
  1829. X# MANBIN="/usr/bin/man"
  1830. XMANBIN=man
  1831. X
  1832. X# Some man systems require additional options such as -Tlp
  1833. X# while other consider it an error.
  1834. X# manopts=-Tlp
  1835. X
  1836. X# Printing banners. Suit your preferences, check the "psfbs" line below
  1837. X# for compliance.
  1838. X
  1839. Xcase PRINTER in
  1840. Xlpr)    nobanner="-h"
  1841. X    ;;
  1842. Xlp)    nobanner="-o nobanner"
  1843. X    ;;
  1844. Xesac
  1845. Xbanneropt=""
  1846. X
  1847. X
  1848. Xusage () {
  1849. X    echo "Usage:  $0 [chapter] page page ..."
  1850. X    echo "  e.g.  $0 vi sh"
  1851. X    exit 0
  1852. X}
  1853. X
  1854. Xcase $# in
  1855. X0)    usage
  1856. X    ;;
  1857. Xesac
  1858. Xcase $1 in
  1859. X-)    usage
  1860. X    ;;
  1861. X--)    usage
  1862. X    ;;
  1863. Xesac
  1864. X
  1865. Xcase $1 in
  1866. X[CFMS1-9] | CP | CT | DOS | HW | LOCAL | UCB  )  CHAPTER=$1
  1867. X                             shift;;
  1868. Xesac
  1869. X
  1870. Xtempfile=/tmp/PSF$$
  1871. Xtrap "rm -f $tempfile ; exit 0" 1 2 15
  1872. Xwhile test "$1" != ""
  1873. Xdo
  1874. X    if ( $MANBIN $manopts $CHAPTER "$1" > $tempfile ) then
  1875. X        psfbs -i -r 3  $tempfile | psf -2  | PRINTER $banneropt
  1876. X        banneropt=$nobanner
  1877. X    else
  1878. X        echo "unknown man page: $1"
  1879. X    fi
  1880. X    shift
  1881. Xdone
  1882. Xrm $tempfile
  1883. Xexit 0
  1884. END_OF_FILE
  1885. if test 1501 -ne `wc -c <'psfman.SH'`; then
  1886.     echo shar: \"'psfman.SH'\" unpacked with wrong size!
  1887. fi
  1888. chmod +x 'psfman.SH'
  1889. # end of 'psfman.SH'
  1890. fi
  1891. if test -f 'psfproto.h' -a "${1}" != "-c" ; then 
  1892.   echo shar: Will not clobber existing file \"'psfproto.h'\"
  1893. else
  1894. echo shar: Extracting \"'psfproto.h'\" \(1467 characters\)
  1895. sed "s/^X//" >'psfproto.h' <<'END_OF_FILE'
  1896. X#ifdef __STDC__
  1897. X/* psf.c */
  1898. Xint main(int argc, char *argv[]);
  1899. Xvoid scale_factors(void);
  1900. Xvoid prologue(void);
  1901. Xvoid showpage(int end_of_file);
  1902. Xvoid set_frame(void);
  1903. Xvoid set_y_coord(void);
  1904. Xvoid put_top(void);
  1905. Xvoid process_file(void);
  1906. Xint escape_sequence(int which);
  1907. Xvoid moveto(int x, int y, int do_move);
  1908. Xvoid findfont(void);
  1909. Xvoid start_file(void);
  1910. Xvoid terminate_printer(void);
  1911. Xvoid draw_cross(void);
  1912. Xvoid set_clip_path(int x1, int y1, int x2, int y2);
  1913. Xvoid output_book(char *bookfile);
  1914. Xint tscan(char s[], char t[]);
  1915. Xvoid get_time(char *t);
  1916. Xint compare(char *a, char *b);
  1917. Xint partial_compare(char *a, char *b);
  1918. Xint comparen(char *a, char *b, int n);
  1919. Xint endcompare(char *a, char *b);
  1920. Xvoid trim(char *s);
  1921. Xvoid bad_file(void);
  1922. Xint xtoi(int c);
  1923. Xvoid catch(int signo);
  1924. Xvoid replacement_fonts(void);
  1925. Xint otoi(char *s);
  1926. Xvoid usage(void);
  1927. Xvoid size_display(void);
  1928. Xvoid output_trouble(int);
  1929. X#else
  1930. X/* psf.c */
  1931. Xint main();
  1932. Xvoid scale_factors();
  1933. Xvoid prologue();
  1934. Xvoid showpage();
  1935. Xvoid set_frame();
  1936. Xvoid set_y_coord();
  1937. Xvoid put_top();
  1938. Xvoid process_file();
  1939. Xint escape_sequence();
  1940. Xvoid moveto();
  1941. Xvoid findfont();
  1942. Xvoid start_file();
  1943. Xvoid terminate_printer();
  1944. Xvoid draw_cross();
  1945. Xvoid set_clip_path();
  1946. Xvoid output_book();
  1947. Xint tscan();
  1948. Xvoid get_time();
  1949. Xint compare();
  1950. Xint partial_compare();
  1951. Xint comparen();
  1952. Xint endcompare();
  1953. Xvoid trim();
  1954. Xvoid bad_file();
  1955. Xint xtoi();
  1956. Xvoid catch();
  1957. Xvoid replacement_fonts();
  1958. Xint otoi();
  1959. Xvoid usage();
  1960. Xvoid size_display();
  1961. Xvoid output_trouble();
  1962. X#endif
  1963. END_OF_FILE
  1964. if test 1467 -ne `wc -c <'psfproto.h'`; then
  1965.     echo shar: \"'psfproto.h'\" unpacked with wrong size!
  1966. fi
  1967. # end of 'psfproto.h'
  1968. fi
  1969. if test -f 'psfunix.LP' -a "${1}" != "-c" ; then 
  1970.   echo shar: Will not clobber existing file \"'psfunix.LP'\"
  1971. else
  1972. echo shar: Extracting \"'psfunix.LP'\" \(2328 characters\)
  1973. sed "s/^X//" >'psfunix.LP' <<'END_OF_FILE'
  1974. X:
  1975. X# $Id: psfunix.LP,v 3.1 1991/11/27 06:02:58 ajf Exp ajf $
  1976. X#  Postscript serial or parallel printer using psf filters
  1977. X#
  1978. X#    "make scripts" will use sed to replace "BINARY" with
  1979. X#        the binary library directory name such as /local/bin.
  1980. X
  1981. X# The following parameters are passed from "lp" at print time.
  1982. X
  1983. Xprinter=`basename $0`
  1984. Xrequest=$1
  1985. Xname=$2
  1986. Xtitle=$3
  1987. Xcopies=$4
  1988. Xoptions=$5
  1989. Xshift; shift; shift; shift; shift
  1990. X
  1991. X# Modify the following for required stty settings.
  1992. X
  1993. Xstty onlcr ixon ixoff 0<&1
  1994. X
  1995. X# get the banner option from the configuration file.
  1996. X# see if the user is allowed to override the banner spec.
  1997. X# The "Banner: on" and "Banner: on:Always" can be specified by lpadmin.
  1998. X# The "Banner: off" must be manually edited into the configuration file.
  1999. X
  2000. Xbanner="yes"
  2001. Xbanopt=`sed -n 's/^Banner: *\(.*\).*$/\1/p' /usr/spool/lp/admins/lp/printers/$printer/configuration`
  2002. Xmustbanner="no"
  2003. Xfor i in ${banopt}
  2004. Xdo
  2005. X    case "${i}" in
  2006. X    
  2007. X    on)        banner="yes"
  2008. X            mustbanner="no"
  2009. X            ;;
  2010. X    on:Always)    banner="yes"
  2011. X            mustbanner="yes"
  2012. X            ;;
  2013. X    off)        banner="no"
  2014. X            mustbanner="no"
  2015. X            ;;
  2016. X    *)        banner="yes"
  2017. X            mustbanner="no"
  2018. X            ;;
  2019. X    esac
  2020. Xdone
  2021. X
  2022. Xoption_list=$options
  2023. Xoptions=
  2024. Xfor i in ${option_list}
  2025. Xdo
  2026. X    case "${i}" in
  2027. X
  2028. X    *@*)    rname="${i}"
  2029. X        ;;
  2030. X    nobanner)
  2031. X        case "${mustbanner}" in
  2032. X        yes)    ;;
  2033. X        *)    banner="no"
  2034. X            ;;
  2035. X        esac
  2036. X        ;;
  2037. X    banner)
  2038. X        banner="yes"
  2039. X        ;;
  2040. X    *)
  2041. X        options="${options} ${i}"
  2042. X        ;;
  2043. X    esac;
  2044. Xdone
  2045. X
  2046. Xtoday=`date`
  2047. X
  2048. X[ "$title " = " " ] && {
  2049. X    title=`basename $1`
  2050. X}
  2051. X
  2052. X[ "$banner" = "yes" ] && {
  2053. X
  2054. X#    get the machine name uname.
  2055. X    sysid=`uname -n`
  2056. X
  2057. X#    get the user name from the GCOS field in /etc/passwd
  2058. X    user=`sed -n "s/^$name:.*:.*:.*:\(.*\):.*:.*$/\1/p" /etc/passwd`
  2059. X
  2060. X#    user is on remote system
  2061. X    case $rname in
  2062. X    [0-z]*) name=$rname
  2063. X        ;;
  2064. X    esac
  2065. X
  2066. X    BINARY/psfbanner "$name" "$user" "$request" "$printer" "$options" "$today" "$sysid" "$title" -g PAGETYPE -u DEFFILE
  2067. X}
  2068. X
  2069. X#    If the file looks like it is in postscript, then psffilter
  2070. X#    copies the file to the printer.  (unless -z is specified)
  2071. X#    The "$options" are passed by lp with  -o"opions"
  2072. X
  2073. X#    To ensure that file names do not push off the date stamp,
  2074. X#    you might wish to use:
  2075. X#
  2076. X#        fname=`basename $file`
  2077. X#        BINARY/psffilter $options "$fname" <$file 2>&1
  2078. X
  2079. Xfiles="$*"
  2080. Xwhile    [ "$copies" -gt 0 ]
  2081. Xdo
  2082. X    for file in $files
  2083. X    do
  2084. X        BINARY/psffilter -g PAGETYPE $options "$file" <$file 2>&1
  2085. X    done
  2086. X    copies=`expr $copies - 1`
  2087. Xdone
  2088. Xexit 0
  2089. END_OF_FILE
  2090. if test 2328 -ne `wc -c <'psfunix.LP'`; then
  2091.     echo shar: \"'psfunix.LP'\" unpacked with wrong size!
  2092. fi
  2093. chmod +x 'psfunix.LP'
  2094. # end of 'psfunix.LP'
  2095. fi
  2096. if test -f 'psfxenix.LP' -a "${1}" != "-c" ; then 
  2097.   echo shar: Will not clobber existing file \"'psfxenix.LP'\"
  2098. else
  2099. echo shar: Extracting \"'psfxenix.LP'\" \(1791 characters\)
  2100. sed "s/^X//" >'psfxenix.LP' <<'END_OF_FILE'
  2101. X#!    Postscript serial or parallel printer using psf filters
  2102. X#
  2103. X#    NOTE: the above line is displayed on the "mkdev lp" printer
  2104. X#    ^^^^^ selection list.  If you create multiple printer models,
  2105. X#          edit the above to signify the options invoked with psf.
  2106. X#
  2107. X#    This print model works with Xenix 2.2.3, 2.3.2.  It is the printer
  2108. X#    back-end that is called by lp for physical printing.
  2109. X#
  2110. X#    "make installxenix" will use sed to replace "BINARY" with
  2111. X#        the binary library directory name.
  2112. X
  2113. X# The following parameters are passed from "lp" at print time.
  2114. X
  2115. Xprinter=`basename $0`
  2116. Xrequest=$1
  2117. Xname=$2
  2118. Xtitle=$3
  2119. Xcopies=$4
  2120. Xoptions=$5
  2121. Xshift; shift; shift; shift; shift
  2122. X
  2123. X# Modify the following for required stty settings.
  2124. X
  2125. Xstty onlcr ixon ixoff 0<&1
  2126. X
  2127. Xbanner=yes
  2128. Xtoday=`date`
  2129. Xfor i in $options; do
  2130. X    case $i in
  2131. X    b)    banner=no ;;
  2132. X    esac
  2133. Xdone
  2134. X
  2135. X[ "$title " = " " ] && {
  2136. X    title=`basename $1`
  2137. X}
  2138. X
  2139. X[ "$banner" = yes ] && {
  2140. X
  2141. X#    get the machine name
  2142. X
  2143. X    if test -r /etc/systemid; then
  2144. X        sysid=`sed 1q /etc/systemid`
  2145. X    else
  2146. X        sysid=`uname -n`
  2147. X    fi
  2148. X
  2149. X#    get the user name from the GCOS field in /etc/passwd
  2150. X
  2151. X    user=`sed -n "s/^$name:.*:.*:.*:\(.*\):.*:.*$/\1/p" /etc/passwd`
  2152. X
  2153. X#    get the count of the number of banner pages from /etc/default/lpd
  2154. X
  2155. X    bannercount=`sed -n 's/^BANNERS=//p' /etc/default/lpd`
  2156. X    [ "$bannercount" -ge 0 -a "$bannercount" -le 5 ] || bannercount=1
  2157. X    while    [ "$bannercount" -gt 0 ]
  2158. X    do
  2159. X        BINARY/psfbanner "$name" "$user" "$request" "$printer" "$options" "$today" "$sysid" "$title" -g PAGETYPE -u DEFFILE
  2160. X        bannercount=`expr $bannercount - 1`
  2161. X    done
  2162. X}
  2163. X
  2164. X#    psffilter filters the file unless it already is in postscript
  2165. X#
  2166. X#    The "$options" are passed by lp with  -o"opions"
  2167. X
  2168. Xfiles="$*"
  2169. Xwhile    [ "$copies" -gt 0 ]
  2170. Xdo
  2171. X    for file in $files
  2172. X    do
  2173. X        BINARY/psffilter $options "$file" 2>&1
  2174. X    done
  2175. X    copies=`expr $copies - 1`
  2176. Xdone
  2177. Xexit 0
  2178. END_OF_FILE
  2179. if test 1791 -ne `wc -c <'psfxenix.LP'`; then
  2180.     echo shar: \"'psfxenix.LP'\" unpacked with wrong size!
  2181. fi
  2182. chmod +x 'psfxenix.LP'
  2183. # end of 'psfxenix.LP'
  2184. fi
  2185. echo shar: End of archive 4 \(of 9\).
  2186. cp /dev/null ark4isdone
  2187. MISSING=""
  2188. for I in 1 2 3 4 5 6 7 8 9 ; do
  2189.     if test ! -f ark${I}isdone ; then
  2190.     MISSING="${MISSING} ${I}"
  2191.     fi
  2192. done
  2193. if test "${MISSING}" = "" ; then
  2194.     echo You have unpacked all 9 archives.
  2195.     rm -f ark[1-9]isdone ark[1-9][0-9]isdone
  2196. else
  2197.     echo You still need to unpack the following archives:
  2198.     echo "        " ${MISSING}
  2199. fi
  2200. ##  End of shell archive.
  2201. exit 0
  2202.  
  2203. exit 0 # Just in case...
  2204.